﻿using System.Xml;

public class AreaInfo
{
    public string Path { get; private set; }
    public string Color { get; private set; }

    public AreaInfo(XmlNode areaNode)
    {
        Path = areaNode.Attributes["Path"].Value;
        Color = areaNode.Attributes["Color"].Value;
    }
}